﻿@import "../../_theme";

#patrol-mgr {
    height: 100%;
    padding: 5px;
}

.no-todo {
    height: 20rem;
    padding-top: 10rem;
    width: 100%;
    text-align: center;

    & > span {
        display: inline-block;
        height: 96px;
        width: 96px;
        background-image: url('/UI/imgs/icon-tags.png');
        background-repeat: no-repeat;
        background-position: -444px -115px;
    }
}

.patrol-item {
    padding: .5rem 1rem 10px .5rem;
    margin-top: .5rem;
    border:1px solid rgba(255, 255, 255, 0.00);
    &:hover {
        background-color: $ClrHover;
    }

    &.undo {
        background-color: white;

        &:hover{
            border:1px solid $ClrTheme;
            box-shadow:0 0 5px 0 gray;
            transition:all linear .5s;
        }
    }

    &.pass {
        border:1px solid $ClrOk;
    }

    &.unpass {
        border:1px solid $ClrErr;
    }
}

.pi-pass{
   color:$ClrOk;
}

.pi-unpass{
    color:$ClrErr;
}

#history-daterange {
    line-height:3rem;
    margin:5px 0;
    background-color:$ClrDisableBk;
    padding:5px;
    border:1px solid;

    & > .Selector {
        display:inline-block;
        width: 25rem;
        height: 3rem;
        white-space:nowrap;
        text-overflow:ellipsis;
        cursor:pointer;
        padding:0 10px;
    }
}
#history-dr-option{
    background-color:white;
    box-shadow:$FloatShadow;
    cursor:pointer;
    &>li{
        padding:10px;
        &:hover{
            background-color:$ClrHover;
        }
    }
}


#ranking-editor {
    padding: 10px;
}

#re-mtypes {
    background-color: white;
    border: 1px solid;
    box-shadow: $FloatShadow;
    line-height:2rem;
    padding: 5px;

    & > li {
        font-size: 1.6rem;
        padding: 5px;
        cursor: pointer;

        &:hover {
            background-color: $ClrHover;
        }
    }
}
#ranking-overall {
    background-color: $ClrControllerBk;
    border: 1px solid;
    padding: 1rem 0;
    text-align:center;
}
.ro-rank {
    display: inline-block;
    width: 10rem;
    cursor: pointer;

    &:hover {
        & > i {
            transform: translateY(-5px);
        }
    }

    & > i {
        font-size: 4rem;
        display: block;
        transition: transform linear .5s;
        color: $ClrDisable;
    }

    &.pass._slcted {
        color: $ClrOk;

        & > i {
            color: $ClrOk;
        }
    }

    &.unpass._slcted {
        color: $ClrErr;

        & > i {
            color: $ClrErr;
        }
    }
}

#re-dtl-pass{
    
}

#re-dimensions-pass{
    &>li{
        padding:5px 2rem;
        font-size:1.6rem;
    }
}
.red-pass{
    position:absolute;
    right:3rem;
    color:$ClrOk;
}

#re-dimensions-unpass{

}

.red-unpass {
    font-size:1.6rem;
    padding:1rem 2rem;
    border:1px solid $ClrDisable;
    background-color:$ClrDisableBk;
    float:left;
    margin:10px 5px 5px 0;
    cursor:pointer;

    &:hover{
        border:1px solid $ClrErr;
        background-color:white;
    }

    &._slcted{
        background-color:lighten($ClrErr,40);
        color:$ClrErr;
        border:1px solid $ClrErr;
    }
}
#re-remark {
    width: 100%;
    height:7rem;
    padding-right:15rem;
    overflow:auto;
}
#re-imgs-wraper{
    height:6rem;
    width:100%;
}
.re-img {
    position: relative;
    width: 8rem;
    height: 8rem;
    box-shadow: 0 0 2px 0 gray;
    background-size: cover;
    float: left;
    margin-right: 10px;

    & > img {
        width: 100%;
        height: 100%;
    }

    &.uploading {
        &::before {
            position: absolute;
            content: ' ';
            top: 0;
            left: 0;
            width: 8rem;
            height: 8rem;
            background-color: black;
            opacity: .7;
            background-image: url('/UI/imgs/loading-9.gif');
            background-size: cover;
            background-position: center;
        }
    }

    & > .btn-remove {
        font-size: 2rem;
        position: absolute;
        right: -10px;
        top: -5px;
        color: $ClrImportant;
    }
}
#re-img-uper{
    cursor:pointer;
    text-align:center;
    &>i{
        font-size:6rem;
        display:block;
        color:$ClrDisable;
    }
}

#re-actions {
    position: fixed;
    bottom: 0;
    text-align: center;
    background-color: $ClrDisableBk;
    left: 0;
    box-shadow: 0 0 2px 0;
    height: 6rem;
    line-height: 6rem;

    & > button {
        margin: 0 1rem;
        padding: 0 1rem;
    }
}


